Hi Klaus, sorry for my late reply. I think the problem ist an undefined StyleTag: Your function: function ApplyObjectStyle (oDoc, oObject, sStyle) { // ================ var oObjStyle, oGraphicsFmt, oProps, sStyle; So sStyle is undefined, because you use the same variable name twice: sStyle That is the reason, I use to name all parameters from a function starting with an "f": foDoc, foObject and so on to make it clearer
... View more